import {createApp} from 'vue'
import App from "./App.vue"
//等价于import router from './router/index.js'
//会自动的找到index.js,只会找index.js
import router from './router'

const app = createApp(App)
// 全局数据
app.provide('qjsj', '全局数据')
//把路由加入到应用中
app.use(router)
app.mount('#app')
